﻿using System.Collections;
using System.Collections.Generic;
using System.Threading;
using UnityEngine;

public class OldProtocol : MonoBehaviour
{
    const string OpenTouYingLightHexStr = "CA 10 02 08 00 04 02 00 00 01 CA"; //开投影顶部灯光
    const string CloseTouYingLightHexStr = "CA 10 02 08 00 04 01 00 00 01 CA"; //关投影顶部灯光
    [SerializeField]
    RRClient rRClient;



    public void OpenTouYingLight()
    {
        rRClient.SendHex(DataTypeEnum.ZK_Light, OrderTypeEnum.Str, OpenTouYingLightHexStr);
    }

    public void CloseTouYingLight()
    {
        rRClient.SendHex(DataTypeEnum.ZK_Light, OrderTypeEnum.Str, CloseTouYingLightHexStr);
    }

    public void SendStrTo10(string xmlstr) 
    {   
        
    }


}
